package com.wushi.lenovo.asia5b.app_model.h5;

/**
 * Created by zhangyuncai on 2018/12/18.
 * 收藏的bean
 */
public class H5WishBean extends H5Bean {

    /**
     * do : collectGoods
     * goods_id : 142
     */

    private String goods_id;
    private String product_id;
    private String _index;
    private String product_wishlist;// 0当前未收藏 1当前已收藏

    public String getProduct_wishlist() {
        return product_wishlist;
    }

    public String getGoods_id() {
        if (parseInteger(product_id) > 0) {
            return product_id;
        }
        return goods_id;
    }

    public String get_index() {
        return _index;
    }

    public void setGoods_id(String goods_id) {
        this.goods_id = goods_id;
    }

    public void setProduct_id(String product_id) {
        this.product_id = product_id;
    }

    public void set_index(String _index) {
        this._index = _index;
    }

    public void setProduct_wishlist(String product_wishlist) {
        this.product_wishlist = product_wishlist;
    }
}
